package com.erp.mapper;

import com.erp.pojo.Roler;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Teacher
 * @description 针对表【t_roler】的数据库操作Mapper
 * @createDate 2025-05-19 14:34:11
 * @Entity com.erp.pojo.Roler
 */
public interface RolerMapper extends BaseMapper<Roler> {

    /*查询某个角色的所有菜单叶子节点id集合*/
    public List<Integer> queryRoleMidsMapper(Integer rid);
    public List<Roler> queryUserRoleList(@Param("uid") Integer uid);
}




